package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_ASSESSMENT")
@ApiModel(value = "大屏-考核情况表")
public class ScreenAssessment extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "序号，用于排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value = "展示标题")
    @TableField(value = "TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "内容作者")
    @TableField(value = "CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value = "数据状态")
    @TableField(value = "STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value = "主体内容")
    @TableField(value = "MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

}
